<template>
	<!--
    	作者：1550495493@qq.com
    	时间：2019-08-13
    	描述：项目管理员-项目审核
    -->
	<div class="HomePage">
		<div class="location">
			<div class="location-text fl">
				<img class="location-img fl" src="../../images/ProjectManager/audit.png" />
				<p class="fr">项目审核</p>
			</div>
			<img class="biaotibg fl" src="../../images/home/biaotibg.png" />
		</div>
		<div class="project-search">
			<input name="search" class="search" type="text" autocomplete="off" v-model="search" />
			<input class="btn" type="button" value="搜索" @click="searchTodo" />
		</div>
		<div class="PressRelease-list">
			<table>
				<thead>
					<tr>
						<th class="w200">项目名称</th>
						<th class="w200">发布基地</th>
						<th class="w80">项目类型</th>
						<th class="w100">发布时间</th>
						<th class="w80">项目详情 </th>
						<th class="w80">申请专家</th>
						<th class="w80">评审结果</th>
						<th class="w80">评审状态</th>
						<th class="w80">项目状态</th>
						<th class="w80">操作</th>
					</tr>
				</thead>
				<tbody>
					<tr v-if="projectList.length == 0">
						<td colspan="10" class="center">暂无数据！</td>
					</tr>
					<tr v-for="(project,index) in projectList" :class="index==curIndex?'activeBg':''" @click="choosed(index)">
						<td :title="project.name"><span class="show-twoline">{{project.name}}</span></td>
						<td :title="project.areasName"><span class="show-twoline">{{project.areasName}}</span></td>
						<td>{{project.type == 1 ? "横向项目" : "研究院项目"}}</td>
						<td>{{formatData(project.releaseTime)}}</td>
						<td><input @click="showProjectDetailsModel(project.id)" type="button" value="查看" class="delete write" /></td>
						<td><input @click="SpecialistBtn(project.id)" type="button" value="查看" class="delete write" /></td>
						<td><input @click="AllTickets(project.id)" type="button" value="查看" class="delete write" /></td>
						<td>{{project.reviewStatus == null || project.reviewStatus == 0 ? "未审核" : "评审中"}}</td>
						<td>{{project.areasStatus == 6 || project.areasStatus == 3 ? "无效" : "有效"}}</td>
						<td>
							<input type="button" value="审核" class="delete write" @click="demand(project.id)" v-if="project.applicationCount > 0 && (project.reviewStatus == null || project.reviewStatus == 0) && (project.areasStatus == 6 || project.areasStatus == 3 ? false : true)"
							/>
						</td>
					</tr>
				</tbody>
			</table>

		</div>
		<!--total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  -->
			<pageination :total="total" :size="size" :page="page" :changge="pageFn" @child="obtainChild"></pageination>
		<!-- 评审组织-模态框-->
		<!--<div v-show="demandModelShow" class="tenant-model">
			<div class="tenant-model-content demandModel">
				<header class="tenant-model-header">
					<h3>项目评审</h3>
					<span @click="closeModel" class="closeModel">×</span>
				</header>
				<div class="tenant-model-body">
					<div class="search-contain">
						&lt;!&ndash;模态框内容板块&ndash;&gt;
            <label>选择评审方式：</label>
            <input name="reviewMethod" type="radio" value="0" v-model="reviewerExpertTemp.reviewMethod"/>内部评审
            <input name="reviewMethod" type="radio" value="1" v-model="reviewerExpertTemp.reviewMethod"/>组织评审
            <div v-show="reviewerExpertTemp.reviewMethod == 0" class="review-table">
              <div class="review" style="height: 300px">
                <table>
                  <tr>
                    <th>专家姓名</th>
                    <th>身份证号</th>
                    <th>二级学科</th>
                    <th>申请书</th>
                    <th>操作</th>
                  </tr>
                  <tr v-if="applyExpertTotal == 0">
                    <td colspan="5" class="center">暂无数据！</td>
                  </tr>
                  <tr v-for="applyExpert in applyExpertList">
                    <td>{{applyExpert.expertName}}</td>
                    <td>{{applyExpert.expertTheWork}}</td>
                    <td>{{applyExpert.expertSecondLevel}}</td>
                    <td>
                      <input type="button" value="查看" class="delete write" @click="preview(applyExpert.applicationBookUrl)"/>
                    </td>
                    <td>
                      <input type="button" value="同意" class="delete write" @click="selectionExpert(applyExpert.projectId,applyExpert.expertId)"/>
                    </td>
                  </tr>
                </table>
                &lt;!&ndash;total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  &ndash;&gt;
                <pageination :total="applyExpertTotal" :size="applyExpertSize" :page="applyExpertPage" :changge="applyExpertPageFn" @child="obtainChild"></pageination>
              </div>
            </div>
						<div v-show="reviewerExpertTemp.reviewMethod == 1" class="review-table">
              <div v-if="!score">
                <div class="review" style="height: 300px">
                  <div class="search-box">
                    <div class="fl">
                      <select class="search" v-model="expertSearchType">
                        <option value="expertName">姓名</option>
                        <option value="expertTheWork">身份证号</option>
                        <option value="expertSecondLevel">二级学科</option>
                      </select>
                      <input class="search" id="searchRoleVal" type="text" v-model="expertSearch"/>
                      <input class="btn" type="button" value="搜索" @click="searchAllNotApplicationExpertTodo"/>
                    </div>
                  </div>
                  <table>
                    <tr>
                      <th>专家姓名</th>
                      <th>身份证号</th>
                      <th>二级学科</th>
                      <th>专业技术职务</th>
                      <th>操作</th>
                    </tr>
                    <tr v-if="applyExpertTotal == 0">
                      <td colspan="5" class="center">暂无数据</td>
                    </tr>
                    <tr v-for="notApplyExpert in notApplyExpertList">
                      <td>{{notApplyExpert.expertName}}</td>
                      <td>{{notApplyExpert.expertTheWork}}</td>
                      <td>{{notApplyExpert.expertSecondLevel}}</td>
                      <td>{{notApplyExpert.expertProfessionalSkillDuty}}</td>
                      <td><input type="button" value="选择" class="delete write" @click="addReviewExpert(notApplyExpert)"/></td>
                    </tr>
                  </table>
                  &lt;!&ndash;total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  &ndash;&gt;
                  <pageination :total="applyExpertTotal" :size="applyExpertSize" :page="applyExpertPage" :changge="applyExpertPageFn" @child="obtainChild"></pageination>
                </div>
                <div class="Evaluation-experts">
                  <p>评审专家</p>
                  <table>
                    <tr>
                      <th>专家姓名</th>
                      <th>身份证号</th>
                      <th>二级学科</th>
                      <th>专业技术职务</th>
                      <th>操作</th>
                    </tr>
                    <tr v-for="reviewExpert in reviewExpertList">
                      <td>{{reviewExpert.expertName}}</td>
                      <td>{{reviewExpert.expertTheWork}}</td>
                      <td>{{reviewExpert.expertSecondLevel}}</td>
                      <td>{{reviewExpert.expertProfessionalSkillDuty}}</td>
                      <td><input type="button" value="删除" class="delete write" @click="removeReviewExpert(reviewExpert)"/></td>
                    </tr>
                  </table>
                  <button @click="nextStep" class="btn">下一步</button>
                </div>
              </div>
              <div v-show="score" class="score">
                <div class="rork">
                  <p>项目名称：{{projectInfo.name}}</p>
                  <p>项目类型：{{projectInfo.type == 1 ? "横向项目" : "研究院项目"}}</p>
                  <p>发起基地：{{projectInfo.areasName}}</p>
                  <p>项目需求书：
                    <input type="button" value="查看" class="delete write" @click="preview(projectInfo.demandBookUrl)"/>
                  </p>
                </div>
                <table>
                  <tr>
                    <th>专家姓名</th>
                    <th>身份证号</th>
                    <th>二级学科</th>
                    <th>申请书</th>
                  </tr>
                  <tr v-if="applyExpertTotal == 0">
                    <td colspan="4" class="center">暂无数据！</td>
                  </tr>
                  <tr v-for="applyExpert in applyExpertList">
                    <td>{{applyExpert.expertName}}</td>
                    <td>{{applyExpert.expertTheWork}}</td>
                    <td>{{applyExpert.expertSecondLevel}}</td>
                    <td><input type="button" value="查看" class="delete write" @click="preview(applyExpert.applicationBookUrl)"/></td>
                  </tr>
                </table>
                &lt;!&ndash;total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  &ndash;&gt;
                <pageination :total="applyExpertTotal" :size="applyExpertSize" :page="applyExpertPage" :changge="applyExpertPageFn" @child="obtainChild"></pageination>
                <form class="form-box" id="reviewForm">
                  <div class="search-boxs imgbox">
                    <label>评审标准上传：</label>
                    <input type="file" id="handIdFront" accept=".doc,.docx,.xls,.xlsx,.pdf,.html,.txt,image/jpeg,image/tif,image/gif,image/png,image/bmp,.mp3,.mp4,.wav,.flv,.avi" @change="idFrontImg($event)" style="display: none;" />
                    <input type="hidden" name="standardUrl" v-model="reviewerExpertTemp.standardUrl"/>
                    <input type="button" value="上传附件" class="delete write" @click="touchOffIdInput(1)"/>
                    <input type="button" value="删除附件" class="delete write" @click="deleteEnclosure()"/>
                    <ul class="img-box">
                      <li v-for="file in FileUpload">{{file}}</li>
                    </ul>
                  </div>
                  <div class="form-line">
                    <label>评审方式：</label>
                    <input name="type" class="btn" value="0" type="radio" v-model="reviewerExpertTemp.type"/>打分制
                    <input name="type" class="btn" value="1" type="radio" v-model="reviewerExpertTemp.type"/>评价制
                  </div>
                  <div class="form-line">
                    <label>评审截止时间：</label>
                    <el-date-picker
                      name="endTime"
                      v-model="reviewerExpertTemp.endTime"
                      type="date"
                      placeholder="选择日期">
                    </el-date-picker>
                  </div>
                  <input type="reset" name="reset" style="display: none;" />
                </form>
                <button class="save" @click="saveReviewerExpert">推送并通知专家</button>
              </div>
						</div>
					</div>
				</div>
			</div>
		</div>-->
		<!-- 申请专家-模态框-->
		<div v-show="Specialist"  class="tenant-model">
			<div class="tenant-model-content">
				<header class="tenant-model-header">
					<h3>查看申请专家</h3>
					<span @click="closeModel" class="closeModel">×</span>
				</header>
				<div class="tenant-model-body">
					<div class="search-contain">
						<!--模态框内容板块-->
						<div  class="review-table">
							<div class="review secondLevelPageination">
								<table>
									<tr>
										<th>申请专家姓名</th>
										<th>身份证号</th>
										<th>二级学科</th>
										<th>申请书</th>
									</tr>
				                    <tr v-if="applyExpertList.length == 0">
				                    	<td colspan="4" class="center">暂无数据！</td>
				                    </tr>
									<tr v-for="applyExpert in applyExpertList">
										<td>{{applyExpert.expertName}}</td>
										<td>{{applyExpert.expertTheWork}}</td>
										<td>{{applyExpert.expertSecondLevel}}</td>
										<td><input type="button" value="查看" class="delete write" @click="preview(applyExpert.applicationBookUrl)"/></td>
									</tr>
								</table>
                <!--total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  -->
                <pageination :total="applyExpertTotal" :size="applyExpertSize" :page="applyExpertPage" :changge="applyExpertPageFn" @child="obtainChild"></pageination>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- 评审结果-模态框-->
		<div v-if="Tickets" class="tenant-model">
		<div class="tenant-model-content">
			<header class="tenant-model-header">
				<h3>查看评审结果</h3>
				<span @click="closeModel" class="closeModel">×</span>
			</header>
			<div class="tenant-model-body">
				<div class="search-contain">
					<!--模态框内容板块 -->
					<div class="review-table">
						<div v-if="projectReviewResultList.length > 0 && projectReviewResultList2.length == 0">
							<input type="button" class="delete write" value="二次评审" @click="reappraisal(projectReviewResultList[0].projectId)" />
							<input type="button"  class="delete write" value="更换专家" @click="replaceExpert(projectReviewResultList[0].projectId)" />
						</div>
						<label v-if="projectReviewResultList.length == 0 && projectReviewResultList2.length == 0 ? true : false">暂无评审结果！</label>
						<div class="review evaluation-result" v-if="projectReviewResultList.length > 0">
							 一次评审
							<table>
								<thead>
									<tr>
										<th>排序</th>
										<th>申请专家</th>
										<th>评审专家</th>
										<th v-if="projectReviewResultList.length&&projectReviewResultList[0].type == 0">分数</th>
										<th v-if="projectReviewResultList.length&&projectReviewResultList[0].type == 0">合计</th>
										<th v-else>评价</th>
										<th v-if="projectReviewResultList2.length == 0">操作</th>
									</tr>
								</thead>
								<tbody v-for="(projectReviewResult,index) in projectReviewResultList">
									<tr v-for="(accreditationExpert,num) in projectReviewResult.reviewExpertNames">
										<td :rowspan="projectReviewResult.reviewExpertNames.length" v-if="!num">{{index + 1}}</td>
										<td :rowspan="projectReviewResult.reviewExpertNames.length" v-if="!num">{{projectReviewResult.applicationExpertName}}</td>
										<td>{{accreditationExpert}}</td>
										<!--打分-->
										<td v-if="projectReviewResult.type == 0">{{projectReviewResult.scores[num]?projectReviewResult.scores[num]:""}}</td>
										<!--通过/不通过-->
										<td v-else>{{projectReviewResult.audits[num]?projectReviewResult.audits[num]:""}}</td>
										<!--打分-->
										<td :rowspan="projectReviewResult.reviewExpertNames.length" v-if="!num&&projectReviewResult.type == 0">{{projectReviewResult.scoreCount}}</td>
										<td :rowspan="projectReviewResult.reviewExpertNames.length" v-if="!num&&projectReviewResultList2.length == 0">
											<!--暂时开放时间没到结束时间可以评审
						                      <input type="button" value="通过" class="delete write" @click="selectionExpert(projectReviewResult.projectId,projectReviewResult.expertId)" v-if="projectReviewResult.endTimeStatus == 1"/>
						                      <label v-else>未到评审截止时间</label>-->
											<input type="button" value="同意" class="delete write" @click="selectionExpert(projectReviewResult.projectId,projectReviewResult.expertId)" />
										</td>
									</tr>
								</tbody>
							</table>
							<!--<table>
								<tr>
									<th>排序</th>
									<th>申请专家</th>
									<th v-for="reviewExpertName in projectReviewResultList[0].reviewExpertNames">{{reviewExpertName}}</th>
									<template v-if="projectReviewResultList[0].type == 0">
										<th>合计</th>
									</template>
									<th v-if="projectReviewResultList2.length == 0">操作</th>
								</tr>
								<tr v-for="(projectReviewResult,index) in projectReviewResultList">
									<td>{{index + 1}}</td>
									<td>{{projectReviewResult.applicationExpertName}}</td>
									<template v-if="projectReviewResult.type == 0">
										<th v-for="score in projectReviewResult.scores">{{score}}</th>
										<td>{{projectReviewResult.scoreCount}}</td>
									</template>
									<template v-else>
										<th v-for="audit in projectReviewResult.audits">{{audit}}</th>
									</template>
									<td v-if="projectReviewResultList2.length == 0">
										<input type="button" value="通过" class="delete write" @click="selectionExpert(projectReviewResult.projectId,projectReviewResult.expertId)" />
									</td>
								</tr>
							</table>-->
						</div>

						<div class="review evaluation-result" v-if="projectReviewResultList2.length > 0">
							二次评审
								<table>
								<thead>
									<tr>
										<th>排序</th>
										<th>申请专家</th>
										<th>评审专家</th>
										<th v-if="projectReviewResultList2.length&&projectReviewResultList2[0].type == 0">分数</th>
										<th v-if="projectReviewResultList2.length&&projectReviewResultList2[0].type == 0">合计</th>
										<th v-else>评价</th>
										<th v-if="projectReviewResultList2.length > 0">操作</th>
									</tr>
								</thead>
								<tbody v-for="(projectReviewResult,index) in projectReviewResultList2">
									<tr v-for="(accreditationExpert,num) in projectReviewResult.reviewExpertNames">
										<td :rowspan="projectReviewResult.reviewExpertNames.length" v-if="!num">{{index + 1}}</td>
										<td :rowspan="projectReviewResult.reviewExpertNames.length" v-if="!num">{{projectReviewResult.applicationExpertName}}</td>
										<td>{{accreditationExpert}}</td>
										<!--打分-->
										<td v-if="projectReviewResult.type == 0">{{projectReviewResult.scores[num]?projectReviewResult.scores[num]:""}}</td>
										<!--通过/不通过-->
										<td v-else>{{projectReviewResult.audits[num]?projectReviewResult.audits[num]:""}}</td>
										<!--打分-->
										<td :rowspan="projectReviewResult.reviewExpertNames.length" v-if="!num&&projectReviewResult.type == 0">{{projectReviewResult.scoreCount}}</td>
										<td :rowspan="projectReviewResult.reviewExpertNames.length" v-if="!num&&projectReviewResultList2.length > 0">
                      <!--暂时开放时间没到结束时间可以评审
						                      <input type="button" value="通过" class="delete write" @click="selectionExpert(projectReviewResult.projectId,projectReviewResult.expertId)" v-if="projectReviewResult.endTimeStatus == 1"/>
						                      <label v-else>未到评审截止时间</label>-->
											<input type="button" value="同意" class="delete write" @click="selectionExpert(projectReviewResult.projectId,projectReviewResult.expertId)" />
										</td>
									</tr>
								</tbody>
							</table>
							<!--<table>
								<tr>
									<th>排序</th>
									<th>申请专家</th>
									<th v-for="reviewExpertName in projectReviewResultList2[0].reviewExpertNames">{{reviewExpertName}}</th>
									<template v-if="projectReviewResultList2[0].type == 0">
										<th>合计</th>
									</template>
									<th>操作</th>
								</tr>
								<tr v-for="(projectReviewResult,index) in projectReviewResultList2">
									<td>{{index + 1}}</td>
									<td>{{projectReviewResult.applicationExpertName}}</td>
									<template v-if="projectReviewResult.type == 0">
										<th v-for="score in projectReviewResult.scores">{{score}}</th>
										<td>{{projectReviewResult.scoreCount}}</td>
									</template>
									<template v-else>
										<th v-for="audit in projectReviewResult.audits">{{audit}}</th>
									</template>
									<td>
										<input type="button" value="通过" class="delete write" @click="selectionExpert(projectReviewResult.projectId,projectReviewResult.expertId)" />
									</td>
								</tr>
							</table>-->
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
    <!-- 项目详情-模态框-->
    <div v-if="projectDetailsModelShow"  class="tenant-model">
      <div class="tenant-model-content">
        <header class="tenant-model-header">
          <h3>查看项目详情</h3>
          <span @click="closeModel" class="closeModel">×</span>
        </header>
        <div class="tenant-model-body">
          <div class="search-contain">
            <!--模态框内容板块-->
            <div  class="review-table">
              <div class="review">
                <ul>
                  <li>基地名称：<p>{{projectInfo.areasName}}</p></li>
                  <li>项目名称：<p>{{projectInfo.name}}</p></li>
                  <li>项目类型：{{projectInfo.type == 1 ? "横向项目" : "研究院项目"}}</li>
                  <li>项目简介：<p>{{projectInfo.introduction}}</p></li>
                  <li>项目需求说明书:<a @click="preview(projectInfo.demandBookUrl)" class="discoloration  deletes write">预览</a></li>
                </ul>
                <!--<input type="button" value="返回" @click="closeModel" class="save" />-->
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!--推送并通知专家-模态框-->
    <div v-if="projectDetailsModelShow"  class="tenant-model">
      <div class="tenant-model-content">
        <header class="tenant-model-header">
          <h3>查看项目详情</h3>
          <span @click="closeModel" class="closeModel">×</span>
        </header>
        <div class="tenant-model-body">
          <div class="search-contain">
            <!--模态框内容板块-->
            <div  class="review-table">
              <div class="review">
                <ul>
                  <li>基地名称：<p>{{projectInfo.areasName}}</p></li>
                  <li>项目名称：<p>{{projectInfo.name}}</p></li>
                  <li>项目类型：{{projectInfo.type == 1 ? "横向项目" : "研究院项目"}}</li>
                  <li>项目简介：<p>{{projectInfo.introduction}}</p></li>
                  <li>项目需求说明书：<a @click="preview(projectInfo.demandBookUrl)" class="discoloration deletes write">预览</a></li>
                </ul>
                <!--<input type="button" value="返回" @click="closeModel" class="save" />-->
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!--选择评审方式对话框-->
    <div id="selectReviewMethodDialog" v-show="selectReviewMethodDialogFlag" class="tenant-model">
      <div class="tenant-model-content">
        <header class="tenant-model-header">
          <h3>选择评审方式</h3>
          <span @click="closeModel" class="closeModel">×</span>
        </header>
        <div class="tenant-model-body">
          <div class="search-contain">
            <!--模态框内容板块-->
            <div>
            	评审方式：
            	<label>
            		<input name="reviewMethod" type="radio" value="0" v-model="reviewerExpertTemp.reviewMethod" checked/>内部评审
            	</label>
            	<label>
            		<input name="reviewMethod" type="radio" value="1" v-model="reviewerExpertTemp.reviewMethod"/>组织评审
            	</label>
            </div>
            <div class="center">
            	 <input type="button" class="btn" value="下一步" @click="showReviewDialog()"/>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!--内部评审对话框-->
    <div id="internalReviewDialog" v-show="internalReviewDialogFlag" class="tenant-model">
      <div class="tenant-model-content">
        <header class="tenant-model-header">
          <h3>内部评审</h3>
          <span @click="closeInternalReviewDialog" class="closeModel">×</span>
        </header>
        <div class="tenant-model-body">
          <div class="search-contain secondLevelPageination">
            <table>
              <tr>
                <th class="w100">申请专家姓名</th>
                <th class="w200">身份证号</th>
                <th class="w200">二级学科</th>
                <th class="w70">申请书</th>
                <th class="w70">操作</th>
              </tr>
              <tr v-if="applyExpertList.length == 0">
                <td colspan="5" class="center">暂无数据！</td>
              </tr>
              <tr v-for="applyExpert in applyExpertList">
                <td>{{applyExpert.expertName}}</td>
                <td>{{applyExpert.expertTheWork}}</td>
                <td>{{applyExpert.expertSecondLevel}}</td>
                <td>
                  <input type="button" value="查看" class="delete write" @click="preview(applyExpert.applicationBookUrl)"/>
                </td>
                <td>
                  <input type="button" value="同意" class="delete write" @click="selectionExpert(applyExpert.projectId,applyExpert.expertId)"/>
                </td>
              </tr>
            </table>
            <!--total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  -->
            <pageination :total="applyExpertTotal" :size="applyExpertSize" :page="applyExpertPage" :changge="applyExpertPageFn" @child="obtainChild"></pageination>
          </div>
        </div>
      </div>
    </div>

    <!--组织评审对话框-->
    <div id="organizationReviewDialog" v-show="organizationReviewDialogFlag" class="tenant-model">
      <div class="tenant-model-content">
        <header class="tenant-model-header">
          <h3>组织评审</h3>
          <span @click="closeOrganizationReviewDialog" class="closeModel">×</span>
        </header>
        <div class="tenant-model-body">
          <div class="search-contain secondLevelPageination">
            <!--模态框内容板块-->
            <div class="review" style="height: 300px">
              <div class="search-box">
                <div class="fl">
                  <select class="search" v-model="expertSearchType">
                    <option value="expertName">姓名</option>
                    <option value="expertTheWork">身份证号</option>
                    <option value="expertSecondLevel">二级学科</option>
                  </select>
                  <input class="search" type="text" v-model="expertSearch"/>
                  <input class="btn" type="button" value="搜索" @click="searchAllNotApplicationExpertTodo"/>
                </div>
              </div>
              <table>
                <tr>
                  <th class="w100">专家姓名</th>
                  <th class="w200">身份证号</th>
                  <th class="w200">二级学科</th>
                  <th class="w200">专业技术职务</th>
                  <th class="w70">操作</th>
                </tr>
                <tr v-if="notApplyExpertList.length == 0">
                  <td colspan="5" class="center">暂无数据</td>
                </tr>
                <tr v-for="notApplyExpert in notApplyExpertList">
                  <td>{{notApplyExpert.expertName}}</td>
                  <td>{{notApplyExpert.expertTheWork}}</td>
                  <td>{{notApplyExpert.expertSecondLevel}}</td>
                  <td>{{notApplyExpert.expertProfessionalSkillDuty}}</td>
                  <td><input type="button" value="选择" class="delete write" @click="addReviewExpert(notApplyExpert)"/></td>
                </tr>
              </table>
              <!--total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  -->
              <pageination :total="notApplyExpertTotal" :size="notApplyExpertSize" :page="notApplyExpertPage" :changge="notApplyExpertPageFn" @child="obtainChild"></pageination>
            </div>
            <div class="Evaluation-experts">
              <p>已选择评审专家</p>
              <div>
              	<table>
	                <tr>
	                  <th>专家姓名</th>
	                  <th>身份证号</th>
	                  <th>二级学科</th>
	                  <th>专业技术职务</th>
	                  <th>操作</th>
	                </tr>
                  <tr v-if="reviewExpertList.length == 0">
                    <td colspan="5" class="center">暂无数据</td>
                  </tr>
	                <tr v-for="reviewExpert in reviewExpertList">
	                  <td>{{reviewExpert.expertName}}</td>
	                  <td>{{reviewExpert.expertTheWork}}</td>
	                  <td>{{reviewExpert.expertSecondLevel}}</td>
	                  <td>{{reviewExpert.expertProfessionalSkillDuty}}</td>
	                  <td><input type="button" value="删除" class="delete write" @click="removeReviewExpert(reviewExpert)"/></td>
	                </tr>
	              </table>
              </div>
              <div class="center">
              	<button @click="showOrganizationReviewNextDialog" class="btn">下一步</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <!--组织审下一步对话框-->
    <div id="organizationReviewNextDialog" v-show="organizationReviewNextDialogFlag" class="tenant-model">
      <div class="tenant-model-content">
        <header class="tenant-model-header">
          <h3>组织评审</h3>
          <span @click="closeOrganizationReviewNextDialogFlag" class="closeModel">×</span>
        </header>
        <div class="tenant-model-body">
          <div class="search-contain">
            <div class="score">
              <div class="rork">
                <div>项目名称：<p>{{projectInfo.name}}</p></div>
                <p>项目类型：{{projectInfo.type == 1 ? "横向项目" : "研究院项目"}}</p>
                <div>发起基地：<p>{{projectInfo.areasName}}</p></div>
                <p>项目需求说明书：
                  <input type="button" value="预览" class="delete write" @click="preview(projectInfo.demandBookUrl)"/>
                </p>
              </div>
              <table>
                <tr>
                  <th>申请专家姓名</th>
                  <th>身份证号</th>
                  <th>二级学科</th>
                  <th>申请书</th>
                </tr>
                <tr v-if="applyExpertList.length == 0">
                  <td colspan="4" class="center">暂无数据！</td>
                </tr>
                <tr v-for="applyExpert in applyExpertList">
                  <td>{{applyExpert.expertName}}</td>
                  <td>{{applyExpert.expertTheWork}}</td>
                  <td>{{applyExpert.expertSecondLevel}}</td>
                  <td><input type="button" value="预览" class="delete write" @click="preview(applyExpert.applicationBookUrl)"/></td>
                </tr>
              </table>
              <!--total  数据总数   size  一页多少条数据   page  当前页码    changge 返回当前选择的页码  改变一页显示条 child  返回值就是一页显示条数  -->
              <pageination :total="applyExpertTotal" :size="applyExpertSize" :page="applyExpertPage" :changge="applyExpertPageFn" @child="obtainChild"></pageination>
              <form class="form-box" id="reviewForm">
                <div class="search-boxs input-required">
                  <label>评审标准上传：</label>
                  <input type="file" id="handIdFront" accept=".txt,.rar,.zip,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.exe,image/*" @change="idFrontImg($event)" style="display: none;" />
                  <input type="hidden" name="standardUrl" v-model="reviewerExpertTemp.standardUrl"/>
                  <input type="button" value="上传附件" class="delete write" @click="touchOffIdInput(1)"/>
                  <input type="button" value="删除附件" class="delete write" @click="deleteEnclosure()"  v-if="FileUpload.length"/>
                  <ul class="img-box" v-if="FileUpload.length">
                    <li v-for="file in FileUpload">{{file}}</li>
                  </ul>
                </div>
                <div class="form-line method">
                  <label>评审方式：</label>
                  <label><input name="type" value="0" type="radio" v-model="reviewerExpertTemp.type" checked/>打分制</label>
                  <label><input name="type" value="1" type="radio" v-model="reviewerExpertTemp.type"/>评价制</label>
                </div>
                <!--<div class="form-line">
                  <label>评审截止时间：</label>
                  <el-date-picker
                    name="endTime"
                    v-model="reviewerExpertTemp.endTime"
                    type="date"
                    placeholder="选择日期">
                  </el-date-picker>
                </div>-->
                <input type="reset" name="reset" style="display: none;" />
              </form>
              <div class="center">
              	<button class="save" @click="saveReviewerExpert">通知评审专家</button>
              </div>

            </div>
          </div>
        </div>
      </div>
    </div>

	</div>
</template>
<script src="./ProjectReview.js"></script>

<style scoped>
	@import "ProjectReview.css"
</style>
